home *** CD-ROM | disk | FTP | other *** search
/ Openstep 4.2 (Developer) / Openstep Developer 4.2.iso / NextDeveloper / Examples / AppKit / TextSizingExample / Controller.h < prev    next >
Encoding:
Text File  |  1996-04-17  |  658 b   |  38 lines

  1. /*
  2.         Controller.h
  3.         TextSizingExample
  4.  
  5.         Author: Mike Ferris
  6. */
  7.  
  8. #import <AppKit/AppKit.h>
  9.  
  10. #define IBOutlet
  11.  
  12. @class Aspect;
  13.  
  14. @interface Controller : NSObject {
  15.     IBOutlet NSPopUpButton *aspectPopUpButton;
  16.     IBOutlet NSView *swapView;
  17.     IBOutlet NSPanel *infoPanel;
  18.  
  19.     NSTextStorage *_textStorage;
  20.     NSMutableArray *_aspects;
  21.     int _currentAspectIndex;
  22.  
  23.     NSString *_openPanelPath;
  24. }
  25.  
  26. - (NSArray *)aspects;
  27. - (Aspect *)currentAspect;
  28.  
  29. - (void)swapInAspectAtIndex:(int)newIndex;
  30.  
  31. - (NSTextStorage *)textStorage;
  32.  
  33. - (void)aspectPopUpAction:(id)sender;
  34. - (void)loadDocumentAction:(id)sender;
  35. - (void)infoAction:(id)sender;
  36.  
  37. @end
  38.